package com.jdd.dao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jdd.modules.device.entity.TDevice;
import com.jdd.dao.entity.TDeviceStatus;

/**
 * <p>
 * 设备指令状态表 服务类
 * </p>
 *
 * @author zly
 * @since 2022-03-25
 */
public interface TDeviceStatusService extends IService<TDeviceStatus> {
    /**
     * 更新设备状态
     *
     * @param status 1-下线2-在线
     * @param device 设备对象
     * @return void
     * @Description
     * @Author zsj
     * @Date 2022-03-26 9:56
     **/
     void updateDeviceStatus(Integer status, TDevice device);
}
